import Vue from 'vue'
import Router from 'vue-router'
import Welcome from '@/pages/Welcome'
import Register from '@/pages/Register'
import Arena from '@/pages/arena/Arena'
import Community from '@/pages/community/Community'
import Warehouse from '@/pages/Warehouse/Warehouse'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Welcome',
      component: Welcome
    }, {
      path: '/register',
      name: 'Register',
      component: Register
    }, {
      path: '/arena',
      name: 'Arena',
      component: Arena
    }, {
      path: '/community',
      name: 'Community',
      component: Community
    }, {
      path: '/warehouse',
      name: 'Warehouse',
      component: Warehouse
    }
  ]
})
